﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>表单 - bootstrap中文后台管理系统模板</title>
<link rel="icon" href="favicon.ico" type="image/ico">


<meta name="author" content="yinqi">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/materialdesignicons.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
</head>
  
<body data-logobg="color_8" data-sidebarbg="color_8">
<div class="layout-web">
  <div class="layout-container">
	  <jsp:include page="nav.jsp"></jsp:include>
    <!--页面主要内容-->
    <main class="layout-content">
      
      <div class="container-fluid">
        
        <div class="col-md-12">
        	<div class="card">
        			<div class="card-header"><h4>个人详情</h4></div>
        			<div class="card-body">
        				<form class="form-horizontal" action="orderedit.action?type=2&oid=${order.oid}" method="post">
	                  <div class="form-group">
	                    <label class="col-xs-12">操作员工</label>
	                    <div class="col-xs-12">
	                      <input class="form-control" type="text" id="ename" name="ename" value="${emp.ename}" readonly="readonly">
	                    </div>
	                  </div>
	                  <div class="form-group">
	                    <label class="col-xs-12">下单时间</label>
	                    <div class="col-xs-12">
							<input class="form-control" type="text" id="buytime" name="buytime" value="${order.buytime}" readonly="readonly">
	                    </div>
	                  </div>
	                  <div class="form-group">
	                    <label class="col-xs-12">商品名称</label>
	                    <div class="col-xs-12">
	                      <select name="cname">
							  <c:forEach var="ct" items="${commodity}">
								  <option value="${ct.gid}">${ct.gname}</option>
							  </c:forEach>
						  </select>
	                    </div>
	                  </div>
	                  <div class="form-group">
	                    <label class="col-xs-12">数量</label>
	                    <div class="col-xs-12">
	                      <input class="form-control" type="text" id="count" name="count" value="${order.count}">
	                    </div>
	                  </div>

	                  <div class="form-group">
	                    <div class="col-xs-12">
	                      <button class="btn btn-warning" type="submit">修改</button>
	                    </div>
	                  </div>
	                </form>
        			</div>
        	</div>
        </div>
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>